package cn.xt.service.house;

import cn.xt.bean.Htype;
import cn.xt.dao.house.HtypeDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author shkstart
 * @date 2018/11/19-13:10
 */
@Service("htypeService")
public class HtypeServiceImp implements HtypeService {
    @Autowired
    private HtypeDao htypeDao;
    @Override
    public int addHtype(Htype htype) {
        return htypeDao.addHtype(htype);
    }

    @Override
    public int selectMaxHtypeId() {
        return htypeDao.selectMaxHtypeId();
    }

}
